package graphics.objects;
import graphics.system.Color;
import tools.Point;
public class GLight extends GraphicsObject {
	protected boolean castshadow;
	public GLight(Point pos, float rad, float angle, Color c, boolean castshadow) {
		super(pos, angle, c);
		node.boundingrad = rad;
		this.castshadow = castshadow;
		islight = true;
	}
	public GLight(Point pos, float radius, Color color) {
		this(pos, radius, 0, color, false);
	}
	public float getRadius() {
		return 0;
	}
	public boolean castsShadow() {
		return castshadow;
	}
}
